package org.qiyu.live.im.core.server.handler;

import io.netty.channel.ChannelHandlerContext;
import org.qiyu.live.im.core.server.common.ImMsg;

/**
 * @Description: 消息处理跟分发 工厂类
 * @Author: 张广焱
 * @Date: 2023-12-03 13:19
 */
public interface ImHandlerFactory {

    /**
     * @param imMsg
     * @Description: 按照immsg的code去筛选
     * @Param: @param channelHandlerContext
     * @Author: 张广焱
     * @Date: 2023-12-03  13:29:04
     */
    void doMsgHandler(ChannelHandlerContext channelHandlerContext, ImMsg imMsg);
}
